package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 客户物料寿命表
 * </p>
 *
 * @author LX
 * @since 2018-09-05
 */
@TableName("erp_customer_limit")
public class ErpCustomerLimit extends Model<ErpCustomerLimit> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 客户id
     */
    @TableField("customer_id")
    private Integer customerId;
    /**
     * 品名
     */
    @TableField("lim_name")
    private String limName;
    /**
     * 规格
     */
    @TableField("lim_SF")
    private String limSf;
    /**
     * 型号
     */
    @TableField("lim_model")
    private String limModel;
    /**
     * 品牌
     */
    @TableField("lim_brand")
    private String limBrand;
    /**
     * 产地
     */
    @TableField("lim_origin")
    private String limOrigin;
    /**
     * 寿命类型
     */
    @TableField("lim_type")
    private String limType;
    /**
     * 提示预警
     */
    @TableField("lim_prompt")
    private String limPrompt;
    /**
     * 达限预警
     */
    @TableField("lim_limited")
    private String limLimited;
    /**
     * 立即更换
     */
    @TableField("lim_replacement")
    private String limReplacement;
    /**
     * 启用
     */
    @TableField("lim_enable")
    private Integer limEnable;

    /**
     *录入人
     */
    @TableField("lu_ru_people")
    private  String luRuPeople;
   /**
     *录入时间
     */
    @TableField("lu_ru_time")
    private  String luRuTime;

    public String getLuRuPeople() {
        return luRuPeople;
    }

    public void setLuRuPeople(String luRuPeople) {
        this.luRuPeople = luRuPeople;
    }

    public String getLuRuTime() {
        return luRuTime;
    }

    public void setLuRuTime(String luRuTime) {
        this.luRuTime = luRuTime;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getLimName() {
        return limName;
    }

    public void setLimName(String limName) {
        this.limName = limName;
    }

    public String getLimSf() {
        return limSf;
    }

    public void setLimSf(String limSf) {
        this.limSf = limSf;
    }

    public String getLimModel() {
        return limModel;
    }

    public void setLimModel(String limModel) {
        this.limModel = limModel;
    }

    public String getLimBrand() {
        return limBrand;
    }

    public void setLimBrand(String limBrand) {
        this.limBrand = limBrand;
    }

    public String getLimOrigin() {
        return limOrigin;
    }

    public void setLimOrigin(String limOrigin) {
        this.limOrigin = limOrigin;
    }

    public String getLimType() {
        return limType;
    }

    public void setLimType(String limType) {
        this.limType = limType;
    }

    public String getLimPrompt() {
        return limPrompt;
    }

    public void setLimPrompt(String limPrompt) {
        this.limPrompt = limPrompt;
    }

    public String getLimLimited() {
        return limLimited;
    }

    public void setLimLimited(String limLimited) {
        this.limLimited = limLimited;
    }

    public String getLimReplacement() {
        return limReplacement;
    }

    public void setLimReplacement(String limReplacement) {
        this.limReplacement = limReplacement;
    }

    public Integer getLimEnable() {
        return limEnable;
    }

    public void setLimEnable(Integer limEnable) {
        this.limEnable = limEnable;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpCustomerLimit{" +
        ", id=" + id +
        ", customerId=" + customerId +
        ", limName=" + limName +
        ", limSf=" + limSf +
        ", limModel=" + limModel +
        ", limBrand=" + limBrand +
        ", limOrigin=" + limOrigin +
        ", limType=" + limType +
        ", limPrompt=" + limPrompt +
        ", limLimited=" + limLimited +
        ", limReplacement=" + limReplacement +
        ", limEnable=" + limEnable +
        "}";
    }
}
